package taskproject;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringRunner;

import com.neuedu.task.service.ITaskService;

@RunWith(SpringRunner.class)
@ContextConfiguration({"classpath:spring/spring-dao.xml",
	                    "classpath:spring/spring-service.xml"})
public class ITaskServiceTesk {
	private Logger logger=LoggerFactory.getLogger(this.getClass());
	@Autowired
	private ITaskService taskservice;
	
	@Test
	public void getTaskListTest() {
		logger.info("list={}",taskservice.getTaskList(0, 3));
	}

}
